package cn.leshua.req;

/**
 * @author eden
 * @date 2018/5/21 下午3:36
 * @desc
 */
public class LeshuaTransRefundReq extends LeshuaBaseReq {
	
	public String leshua_order_id;
	public String merchant_refund_id;
	public String refund_amount;

	public void setRefund_amount(String refund_amount) {
		this.refund_amount = refund_amount;
	}



	public void setMerchant_refund_id(String merchant_refund_id) {
		this.merchant_refund_id = merchant_refund_id;
	}

	public LeshuaTransRefundReq(String merchant_id,  String merchant_refund_id,String refund_amount) {
		setService("unified_refund");
		setMerchant_id(merchant_id);
		
		setMerchant_refund_id(merchant_refund_id);
		setRefund_amount(refund_amount);

	}
	

	public void setLeshua_order_id(String leshua_order_id) {
		this.leshua_order_id = leshua_order_id;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("LeshuaTransRefundReq [leshua_order_id=");
		builder.append(leshua_order_id);
		builder.append(", service=");
		builder.append(service);
		builder.append(", merchant_id=");
		builder.append(merchant_id);
		builder.append(", third_order_id=");
		builder.append(third_order_id);
		builder.append(", nonce_str=");
		builder.append(nonce_str);
		builder.append(", sign=");
		builder.append(sign);
		builder.append("]");
		return builder.toString();
	}
}
